<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script>
      var radius = parseInt(prompt("请输入输入圆锥的底面半径"));
      var height = parseInt(prompt("请输入输入圆锥的高"));
      var volume = parseInt((1 / 3) * Math.PI * Math.pow(radius,2) * height);
      alert("圆锥的体积是：" + volume);
    </script>
  </head>
  <body></body>
</html>
